package com.xue566.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: Wuzh
 * @Description: 教室实体类
 * @Data:
 */
@Data
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式
@TableName(value = "room_info")
public class RoomEntity extends BaseEntity {
    @TableId(value = "roomId", type = IdType.INPUT)
    private String roomId;
    @TableField(value = "roomName")
    private String roomName;
    @TableField(value = "line")
    private int line;
    @TableField(value = "column")
    private int column;
    @TableField(value = "number")
    private int number;
    @TableField(value = "centerId")
    private String centerId;
    @TableField(value = "state")
    private int state;
    @TableField(value = "userId")
    private String userId;
    @TableField(value = "createTime")
    private String createTime;
    @TableField(value = "isUsed")
    private int isUsed;

    public String getRoomId () {
        return roomId;
    }

    public void setRoomId (String roomId) {
        this.roomId = roomId;
    }

    public String getRoomName () {
        return roomName;
    }

    public void setRoomName (String roomName) {
        this.roomName = roomName;
    }

    public int getLine () {
        return line;
    }

    public void setLine (int line) {
        this.line = line;
    }

    public int getColumn () {
        return column;
    }

    public void setColumn (int column) {
        this.column = column;
    }

    public int getNumber () {
        return number;
    }

    public void setNumber (int number) {
        this.number = number;
    }

    public String getCenterId () {
        return centerId;
    }

    public void setCenterId (String centerId) {
        this.centerId = centerId;
    }

    public int getState () {
        return state;
    }

    public void setState (int state) {
        this.state = state;
    }

    public String getUserId () {
        return userId;
    }

    public void setUserId (String userId) {
        this.userId = userId;
    }

    public String getCreateTime () {
        return createTime;
    }

    public void setCreateTime (String createTime) {
        this.createTime = createTime;
    }

    public int getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (int isUsed) {
        this.isUsed = isUsed;
    }
}
